#!/bin/sh
LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

export C2PLAT=/usr/local/C2
export PATH=$PATH:$C2PLAT/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$C2PLAT/bin

JAVA_HOME=/usr/local/javaWeb/jdk1.8.0_371
JRE_HOME=/usr/local/javaWeb/jdk1.8.0_371/jre
CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
export JAVA_HOME JRE_HOME CLASS_PATH PATH

cd /usr/local/javaWeb
nohup java -jar Tool-1.0.0.jar >/dev/null 2>&1